angular.module("detail")
	   .config(function($routeProvider){
	   		$routeProvider
	   		.when("/",{templateUrl:'tpls/login.html',controller:"loginCtrl"})
	   		.when("/ristory",{templateUrl:'tpls/ristory.html',controller:"ristoryCtrl"})
	   		.when("/product",{templateUrl:'tpls/product.html',controller:"productCtrl"})
	   		.when("/signup",{templateUrl:'tpls/signup.html',controller:"signupCtrl"})
	   		.otherwise({redirectTo:"/"});
	   })